feat: add aarch64-linux support (Raspberry Pi 5)#3
feat: add aarch64-linux support (Raspberry Pi 5)#3connorads wants to merge 1 commit intoopenclaw:mainfrom
Conversation
Sync upstream nix-openclaw + update to v2026.2.1
Add aarch64-linux to the supported systems list and Garnix CI matrix. Enables building and running OpenClaw on ARM64 Linux devices. Based on openclaw#3. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Enable building on ARM64 Linux (e.g., Raspberry Pi 5). The gateway package already handles aarch64 architecture detection via pnpmArch - this just adds the system to the supported list.
9f479e6 to
9ff644a
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9ff644acb5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| systems = [ | ||
| "x86_64-linux" | ||
| "aarch64-darwin" | ||
| "aarch64-linux" |
There was a problem hiding this comment.
Update the single-source-of-truth docs for aarch64-linux
AGENTS.md says README.md is the single source of truth and must be updated first, but this change only adds aarch64-linux to flake.nix. I checked README.md:71, README.md:149, and README.md:197, plus templates/agent-first/flake.nix:19, and they still describe Linux as x86_64-linux only. That means the recommended agent/manual setup flow will either tell Raspberry Pi users the platform is unsupported or have them fill in the wrong system, so the newly advertised support is not actually discoverable/usable from the documented path.
Useful? React with 👍 / 👎.
| systems = [ | ||
| "x86_64-linux" | ||
| "aarch64-darwin" | ||
| "aarch64-linux" |
There was a problem hiding this comment.
Add aarch64-linux to the build and cache matrix
Adding the new system here exposes checks.aarch64-linux.*, but I checked garnix.yaml:1-8 and .github/workflows/config-options-check.yml:30 / .github/workflows/hm-activation-linux.yml:27, and they still build only x86_64-linux (plus macOS). As a result, the newly supported ARM64 Linux target gets no CI coverage and no Garnix cache population, so regressions can land unnoticed and fresh ARM64 installs will have to build the gateway locally from source.
Useful? React with 👍 / 👎.
aarch64-linuxto supported systems (enables Raspberry Pi 5, other ARM64 Linux devices)Testing
Tested on Raspberry Pi 5 running NixOS via nixos-raspberrypi: